﻿using Inventory.Domain;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Inventory.Infrastructure
{
    public class ApplicationContext : DbContext
    {
        public ApplicationContext(DbContextOptions<ApplicationContext> options) : base(options)
        {
        }

        /// <summary>
        /// 仓库管理
        /// </summary>
        public DbSet<Warehousemanagement> Warehousemanagement { get; set; }

        /// <summary>
        ///  库位管理
        /// </summary>
        public DbSet<Storagelocationmanagement> Storagelocationmanagement { get; set; }
        /// <summary>
        /// 库区管理
        /// </summary>
        public DbSet<Zonemanagement> Zonemanagement { get; set; }
    }
}
